package com.test.designPattern.ch32.service;

import com.test.designPattern.ch32.service.Service;

/**
 * @ClassName Service1
 * @Description TODO
 * @Author 维康
 * @Date 2018/7/2 17:16
 * @Version 1.0
 **/
public class Service2 implements Service {

    @Override
    public void execute(){
        System.out.println("Executing Service2");
    }

    @Override
    public String getName() {
        return "Service2";
    }
}
